package com.cos.m3.web.filter;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author: COS
 * @time: 2022/6/9 10:13
 * @description:
 */
public class MyFilter implements Filter {

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        System.out.println("进入前");
        //chain.doFilter(request, response);
        System.out.println("进入后(返回)");
    }
}
